package com.casstime.ec.cloud.meeting.dao.mapper;

import com.casstime.ec.cloud.meeting.dao.entity.EntityDepartment;
import com.casstime.ec.cloud.meeting.dao.entity.example.EntityDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EntityDepartmentMapper {
    long countByExample(EntityDepartmentExample example);

    int deleteByExample(EntityDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EntityDepartment record);

    int insertSelective(EntityDepartment record);

    List<EntityDepartment> selectByExample(EntityDepartmentExample example);

    EntityDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EntityDepartment record, @Param("example") EntityDepartmentExample example);

    int updateByExample(@Param("record") EntityDepartment record, @Param("example") EntityDepartmentExample example);

    int updateByPrimaryKeySelective(EntityDepartment record);

    int updateByPrimaryKey(EntityDepartment record);

    int batchInsert(@Param("list") List<EntityDepartment> list);

    int batchInsertSelective(@Param("list") List<EntityDepartment> list, @Param("selective") EntityDepartment.Column... selective);

    int upsert(EntityDepartment record);

    int upsertSelective(EntityDepartment record);
}